/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import daoimpl.EnderecoDaoImpl;
import java.util.List;
import model.Endereco;

/**
 *
 * @author Rodrigo
 */
public class ControllerEndereco {

    private final EnderecoDaoImpl dao;

    public ControllerEndereco() {
        dao = new EnderecoDaoImpl();
    }

    public List<Endereco> consultar() {
        return dao.consultar();
    }

}
